package com.ysy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ysy.entity.NoteCount;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 笔记计数统计表 Mapper 接口
 * </p>
 *
 * @author yangSy
 * @since 2025-04-30
 */
public interface NoteCountMapper extends BaseMapper<NoteCount> {

    void updateOrInsertLikeCount(@Param("noteId") Long noteId, @Param("count") Integer count);


    void updateOrInsertCollectCount(@Param("noteId") Long noteId, @Param("collectCount") Integer count);
}

